#include<stdio.h>
#include<conio.h>
void main()
{
	int num, i;

	clrscr();

	printf("\n\n\tEnter a Number: ");

	scanf("%d", &num);

	i = 2;

	while(i <= num - 1)
	{

		if(num % i == 0)
		{

			printf("\n\n\tNot a Prime Number");
			break;
		}

		i++;
	}

	if(i == num)
		printf("\n\n\tPrime Number");

	getche();

}